import { defineStore} from 'pinia'

export const useUserStore  = defineStore('user',{
  state:()=>{
    return {
      user: {},
      loginFlag:false
    }
  },
  getters:{
  },
  actions:{
    updateUser(value){
      this.user = value
    },
  },
})